package clienteServidor;

import java.io.Serializable;

public class OrdenesServidor implements Serializable, Cloneable{

	private static final long serialVersionUID = -7968010050448535377L;
	
	private boolean infoSO= true;
	private boolean infoCPU= false;
	private boolean infoBateria= true;
	private boolean infoRed= true;
	private boolean terminarCliente= false;
	private boolean apagar= false;
	
	public boolean isInfoSO() {
		return infoSO;
	}
	public void setInfoSO(boolean infoSO) {
		this.infoSO = infoSO;
	}
	public boolean isInfoCPU() {
		return infoCPU;
	}
	public void setInfoCPU(boolean infoCPU) {
		this.infoCPU = infoCPU;
	}
	public boolean isInfoBateria() {
		return infoBateria;
	}
	public void setInfoBateria(boolean infoBateria) {
		this.infoBateria = infoBateria;
	}
	public boolean isInfoRed() {
		return infoRed;
	}
	public void setInfoRed(boolean infoRed) {
		this.infoRed = infoRed;
	}
	public boolean isTerminarCliente() {
		return terminarCliente;
	}
	public void setTerminarCliente(boolean terminarCliente) {
		this.terminarCliente = terminarCliente;
	}
	public boolean isApagar() {
		return apagar;
	}
	public void setApagar(boolean apagar) {
		this.apagar = apagar;
	}
	
	@Override
	protected Object clone(){
		OrdenesServidor o= null;
		try{
			o= (OrdenesServidor) super.clone();
		}catch(CloneNotSupportedException e){}
		return o;
	}
	@Override
	public String toString() {
		return "OrdenesServidor [infoSO=" + infoSO + ", infoCPU=" + infoCPU
				+ ", infoBateria=" + infoBateria + ", infoRed=" + infoRed
				+ ", terminarCliente=" + terminarCliente + ", apagar=" + apagar
				+ "]";
	}
}
